package com.siwei.mes.mapper.system;

import com.siwei.mes.common.base.BaseMapper;
import com.siwei.mes.entity.system.ProjectArea;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户表(User)表数据库访问层
 *
 * @author yangke
 * @since 2023-12-17 16:16:12
 */
public interface ProjectAreaMapper extends BaseMapper<ProjectArea> {
    /**
     * 获取所有
     *
     * @param entity
     * @return
     */
    List<ProjectArea> getList(ProjectArea entity);


    ProjectArea selectByProjectArea(@Param("projectArea") String projectArea);

    List<String> selectProjectAreaByUserId(@Param("userId") String userId);
}
